import http from '../utils/http'

/**
 * //获取首页数据的api
//使用all方法同时请求
 */

export const reqIndexData=()=>{
  return http.all(    
  http.get('/index/findBanner'),
  http.get('/index/findCategory1'),
  http.get('/index/advertisement'),
  http.get('/index/findListGoods'),
  http.get('/index/findRecommendGoods'))
}